Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devzat logger CSV File Integration #211

Closed
wants to merge 17 commits into from
Closed

Devzat logger CSV File Integration #211

wants to merge 17 commits into from

Conversation

CaenJones
Copy link
Contributor

This records what time a user joins and leaves Devzat onto a csv file. This file will not be erased unlike the normal Devzat logfile.

main.go Outdated
for i := 0; i < len(b); i++ {
if b[i].Addr == addr || b[i].ID == id {
return true
}
}
return false
}

func logUserActivity(user *User, action string, loggingEnabled bool) {
if !loggingEnabled { false //logging on Devzat is disabled by default, to enable it please switch the statement from false to true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the error on line 909, because logging is disabled by default, (untyped bool constant) is not used is not an issue

@quackduck
Copy link
Owner

Your code needs to compile!

@Arkaeriit
Copy link
Collaborator

Your code needs to compile!

You see a code that can't compile, I see a code with 0 runtime errors.

@quackduck
Copy link
Owner

So true

@CaenJones CaenJones closed this Nov 15, 2023
@quackduck
Copy link
Owner

Why did you close the PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants